package com.donger.upms.api.dto;

import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;

/**
 * 密码表单
 *
 * @author xyx
 * @date
 */
@Setter
@Getter
public class PasswordForm {
    /**
     * 原密码
     */
    @NotBlank(message = "原密码不能为空")
    private String password;
    /**
     * 新密码
     */
    @NotBlank(message = "新密码不能为空")
    private String newPassword;

}
